
import request from '@/utils/request'
export function commissionList(params) {
    return request({
        url: '/operate/operations/queryProInfoCentCommission',
        headers: {
            'Content-Type': 'application/json;charset=UTF-8'
        },
        method: 'get',
        data: params,
        params: {
            pageNum: params.pageNum,
            pageSize: params.pageSize,
            proCode: params.proCode,
            goodsBrand: params.goodsBrand,
            // pageConvert: params.pageConvert
            infoName:params.infoName,
            catId:params.catId
        }
    })
}
  export function updataCommission(data) {
    return request({
      url: '/operate/proLimitConditions/updateLimitCondition',
      headers: {
        'Content-Type': 'application/json;charset=UTF-8'
      },
      method: 'post',
      data
    })
  }
  
  export function getSearchList() {
    return request({
      url: '/operate/proInfos/findClassifyByName',
      headers: {
        'Content-Type': 'application/json;charset=UTF-8'
      },
      method: 'post',
    })
  }